add_all

function add_all(index: integer, values: collection<-T>): boolean

Inserts all elements from a collection at the specified index. Fails if the specified index is out of bounds.

Since

0.9.0

Parameters

index

The starting index at which to add the elements.

values

The collection containing elements to add.


function add_all(values: collection<-T>): boolean

Adds all elements from another collection to this collection.

Return

true if any of the specified elements was added to the collection, false if the collection was not modified.

Since

0.9.0

Parameters

values

The collection to add elements from.